package com.example.mylogin.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 功能描述：login dto
 * </p>
 *
 * @author cui haida
 * @date 2025/05/30/9:00
 */
@Data
public class LoginDTO {
    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
